@charset "utf-8";

@import "common";
@import "reset";
$width:100%;

.content{
    width:$width ;
    margin: 0 auto;
    border-bottom: 1px solid #CCCCCC;
    .details-box{
        max-width: 827px;
        margin: 0 auto;
        .details-title{
            line-height: 40px;
            h3{
                font-size: 18px;
                font-weight: normal;
            }
            p{
                font-size: 14px;
                &:first-of-type{
                    color: #FF0000;
                }
            }
        }
        .pay-box{
            width: $width;
            margin: 0 auto;
            height: 60px;
            line-height: 60px;
            border-top: 1px solid #DADADA;
            border-bottom: 1px solid #DADADA;
            .pay{
                display: inline-block;
                img{
                    display: inline-block;
                    vertical-align: middle;
                }
            }
            a{
                font-size: 14px;
                text-decoration: underline;
                display: inline-block;
                color: #000000;
                vertical-align: middle;
                padding-left: 48px;
            }
        }
        .btn{
            width: $width;
            margin: 0 auto;
            padding: 22px 0 48px 0;
            a{
                display: inline-block;
                width: 98px;
                height: 28px;
                line-height: 28px;
                background: #362f2f;
                text-align: center;
                color: #FFFFFF;
                border-radius: 5px;
            }
        }
        .details-content{
            width: $width;
            margin: 0 auto;
            .box{
                width: $width;
                &:nth-of-type(2){
                    margin-top: 50px;
                    .indent-ul{
                        span{
                            &:nth-of-type(2){
                                padding: 0 0 0 50px;
                            }
                        }
                        .li-span{
                            span{
                                &:nth-of-type(2){
                                    padding-left: 86px;
                                }
                            }
                        }
                    }
                }
            }
            .details-text{
                padding-bottom: 9px;
                border-bottom: 1px solid #DADADA;
                h3{
                    font-size: 14px;
                    font-weight: normal;
                }
            }
            .indent-details{
                width: $width;
                margin: 0 auto;
                padding-top: 22px;
                .indent-ul{
                    line-height: 36px;
                    span{
                        font-size: 12px;
                        &:nth-of-type(2){
                            color: #b0b0b0;
                            padding: 0 56px 0 62px;
                        }
                    }
                    a{
                        font-size: 12px;
                        color: #B0B0B0;
                        text-decoration: underline;
                    }
                }
            }
            .commodity{
                width: $width;
                margin: 0 auto;
                .details-text{
                    h3{
                        font-size: 18px;
                    }
                    span{
                        font-size: 14px;
                        display: inline-block;
                        &:first-of-type{
                            width: 438px;
                        }
                        &:nth-of-type(2){
                            width: 120px;
                        }
                        &:nth-of-type(3){
                            width: 134px;
                        }
                    }
                }
                .cart-table{
                    width: 100%;
                    padding-top: 24px;
                    padding-bottom: 54px;
                    border-bottom: 1px solid #DADADA;
                    .cart-td{
                        width: 370px;
                        img{
                            vertical-align: top;
                        }
                        span{
                            display: inline-block;
                            padding-left: 18px;
                        }
                        .cart-span{
                            color: #b0b0b0;
                            padding-left:0 ;
                            line-height: 32px;
                        }
                        p{
                            &:first-child{
                                margin-bottom: 42px;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                width: 167px;
                            }
                            &:last-of-type{
                                color: #B0B0B0;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                width: 168px;
                            }
                        }
                        a{
                            color: #000000;
                        }
                        .text{
                            padding-left: 0;
                            display: inline-block;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            width: 73px;
                            vertical-align:middle;
                        }
                    }
                   .cart-num{
                       vertical-align: top;
                       text-align: center;
                   }
                   td{
                       &:nth-of-type(2){
                           width: 172px;
                           vertical-align: top;
                           span{
                               display: inline-block;
                               overflow: hidden;
                               text-overflow: ellipsis;
                               white-space: nowrap;
                               width: 50px;
                           }
                       }
                       &:nth-of-type(3){
                           width: 80px;
                           vertical-align: top;
                           text-align: center;
                           span{
                               display: inline-block;
                               overflow: hidden;
                               text-overflow: ellipsis;
                               white-space: nowrap;
                               width: 80px;
                           }
                       }
                       &:nth-of-type(4){
                           width: 200px;
                           text-align: center;
                           vertical-align: top;
                           span{
                               display: inline-block;
                               overflow: hidden;
                               text-overflow: ellipsis;
                               white-space: nowrap;
                               width: 200px;
                           }
                       }
                   }
                   
                }
            }
            .rental-box{
                width: $width;
                margin: 0 auto;
                background: #EFEFEF;
                border-radius: 5px;
                margin: 23px 0 39px 0;
                .rental{
                    max-width: 753px;
                    margin: 0 auto;
                    .rental-top{
                        width: $width;
                        display: flex;
                        justify-content: space-between;
                        flex-wrap: wrap;
                        padding-top: 28px;
                        padding-bottom: 45px;
                        border-bottom: 1px solid #DADADA;
                        div{
                            width: $width;
                            display: flex;
                            justify-content: space-between;
                            &:nth-of-type(2){
                                span{
                                    color: #B0B0B0;
                                }
                            }
                        }
                        p{
                            font-size: 14px;
                        }
                        span{
                            display: block;
                            font-size: 14px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }
                    }
                    .rental-bottom{
                        width: $width;
                        display: flex;
                        justify-content: space-between;
                        padding: 20px 0 36px 0;
                        font-size: 18px;
                        span{
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }
                    }
                }
            }
        }
    }
}
